<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>emoji</title>
  <script src="./jquery@1.8.js"></script>
  <!-- <script src="./emojione.js"></script> -->
  <!-- <link rel="stylesheet" href="./emojione.css"> -->
  <link rel="stylesheet" href="./emojionearea.css">

  <script src="./emojionearea.js"></script>

  <style>
  * {
  font-family: Arial, Helvetica, san-serif;
}
.row:after, .row:before {
  content: " ";
  display: table;
  clear: both;
}
.span6 {
  float: left;
  width: 48%;
  padding: 1%;
}
.emojionearea-editor:not(.inline) {
  min-height: 8em!important;
}
.row{margin-top: 400px;}
.emoji_btn{width: 20px;height: 20px;background: cadetblue;}
  </style>
</head>
<body>
  <!-- <div class="row">
    <div class="span6">
      <textarea id="emojionearea1">Default :smile:</textarea>
    </div>
    <div class="span6">
      <input type="text" id="emojionearea2" value="inline :+1:" />
    </div>
  </div> -->
  <div class="row">
    <div class="span6">
      <div class="emojionearea-button emoji_btn" title="Use the TAB key to insert emoji faster"><div class="emojionearea-button-open"></div><div class="emojionearea-button-close"></div></div>
      
      <div id="emojionearea3"> 
      </div>
    </div>
    <!-- <div class="span6">
      <input type="text" id="emojionearea4" value=":smiley_cat:" />
    </div> -->
  </div>
  <!-- <div class="span6">
    <textarea id="emojionearea5">Disable tones, disable autocomplete :dog::cat:</textarea>
  </div> -->
  <script>
  $(document).ready(function() {
	$("#emojionearea1").emojioneArea({
  	pickerPosition: "left",
    tonesStyle: "bullet"
  });
	$("#emojionearea2").emojioneArea({
  	pickerPosition: "bottom",
    tonesStyle: "radio"
  });
	$("#emojionearea3").emojioneArea({
  	pickerPosition: "top",
  	filtersPosition: "bottom",
    tonesStyle: "bullet"
  });
	$("#emojionearea4").emojioneArea({
  	pickerPosition: "bottom",
  	filtersPosition: "bottom",
    tonesStyle: "checkbox"
  });
	$("#emojionearea5").emojioneArea({
  	pickerPosition: "top",
  	filtersPosition: "bottom",
    tones: false,
    autocomplete: false,
    inline: true,
    hidePickerOnBlur: false
  });
});
  </script>
</body>
</html>